/**
 * 
 */
package com.zc.spring.javabean;

import java.sql.Timestamp;

import javax.annotation.PostConstruct;

import org.springframework.stereotype.Component;

import com.alibaba.fastjson.annotation.JSONField;
/**
 * @author ZhangCheng
 * @time 2019年10月16日
 */
//@Component("levelGrade")
public class LevelGrade {
	private String lGid;
	private String peoId;
	private int levelGrade;
	private int peoType;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")//fastjson格式化时间戳
	private Timestamp changeDate;
	private String backUp;

	public LevelGrade() {
		super();
	}

	public LevelGrade(String peoId, int levelGrade, int peoType, String backUp) {
		super();
		this.peoId = peoId;
		this.levelGrade = levelGrade;
		this.peoType = peoType;
		this.backUp = backUp;
	}

	public LevelGrade(String lGid, String peoId, int levelGrade, int peoType, Timestamp changeDate, String backUp) {
		super();
		this.lGid = lGid;
		this.peoId = peoId;
		this.levelGrade = levelGrade;
		this.peoType = peoType;
		this.changeDate = changeDate;
		this.backUp = backUp;
	}

	public LevelGrade(String lGid, String peoId, int levelGrade, int peoType, String backUp) {
		super();
		this.lGid = lGid;
		this.peoId = peoId;
		this.levelGrade = levelGrade;
		this.peoType = peoType;
		this.backUp = backUp;
	}

	public String getlGid() {
		return lGid;
	}

	public void setlGid(String lGid) {
		this.lGid = lGid;
	}

	public Timestamp getChangeDate() {
		return changeDate;
	}

	public void setChangeDate(Timestamp changeDate) {
		this.changeDate = changeDate;
	}

	public String getBackUp() {
		return this.backUp;
	}

	public void setBackUp(String backUp) {
		this.backUp = backUp;
	}

	public String getPeoId() {
		return peoId;
	}

	public void setPeoId(String peoId) {
		this.peoId = peoId;
	}

	public int getLevelGrade() {
		return levelGrade;
	}

	public void setLevelGrade(int levelGrade) {
		this.levelGrade = levelGrade;
	}

	public int getPeoType() {
		return peoType;
	}

	public void setPeoType(int peoType) {
		this.peoType = peoType;
	}

	
	public String getInfo() {
		return "LevelGrade [lGid=" + lGid + ", peoId=" + peoId + ", levelGrade=" + levelGrade + ", peoType=" + peoType
				+ ", changeDate=" + changeDate + ", backUp=" + backUp + "]";
	}

	@PostConstruct
	public void sss(String a) {
		System.out.println("+-------"+a);
	}

}
